﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApp19.One
{
    public abstract class State
    {
        /// <summary>
        /// 抽象状态类,定义一个与Context相关的行为
        /// </summary>
        /// <param name="context"></param>
        public abstract void Handle(Context context);
    }
}
